﻿// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_PROD_BLUEPRINT_PRINT_RECYDED
// * CreateDate    : 2012/3/22 14:42:10
// * Creater       : CodeSmith
// * LastChangeDate: 2012/3/22 14:42:10
// * LastChanger   : 2012/3/22 14:42:10
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
    [Serializable]
    public partial class ProdBlueprintPrintRecydedTable : TableInfo
    {
        public const string C_TableName = "PROD_BLUEPRINT_PRINT_RECYDED";

        public const string C_ID = "ID";
        public const string C_BLUEPRINT_ID = "BLUEPRINT_ID";
        public const string C_RECYDED_TIME = "RECYDED_TIME";
        public const string C_RECYDED_QTY = "RECYDED_QTY";
        public const string C_RECYDED_PERSON = "RECYDED_PERSON";

        public ProdBlueprintPrintRecydedTable()
        {
            _tableName = "PROD_BLUEPRINT_PRINT_RECYDED";
        }

        protected static ProdBlueprintPrintRecydedTable _current;
        public static ProdBlueprintPrintRecydedTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }

        private static void Initial()
        {
            _current = new ProdBlueprintPrintRecydedTable();

            _current.Add(C_ID, new ColumnInfo(C_ID, "Id", true, typeof(string)));
            _current.Add(C_BLUEPRINT_ID, new ColumnInfo(C_BLUEPRINT_ID, "BlueprintId", false, typeof(string)));
            _current.Add(C_RECYDED_TIME, new ColumnInfo(C_RECYDED_TIME, "RecydedTime", false, typeof(DateTime)));
            _current.Add(C_RECYDED_QTY, new ColumnInfo(C_RECYDED_QTY, "RecydedQty", false, typeof(int)));
            _current.Add(C_RECYDED_PERSON, new ColumnInfo(C_RECYDED_PERSON, "RecydedPerson", false, typeof(string)));

        }

        public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }

        public ColumnInfo BLUEPRINT_ID
        {
            get { return this[C_BLUEPRINT_ID]; }
        }

        public ColumnInfo RECYDED_TIME
        {
            get { return this[C_RECYDED_TIME]; }
        }

        public ColumnInfo RECYDED_QTY
        {
            get { return this[C_RECYDED_QTY]; }
        }

        public ColumnInfo RECYDED_PERSON
        {
            get { return this[C_RECYDED_PERSON]; }
        }



    }
}

